+91 88944 87589(You)
Message yourself
Use WhatsApp on your phone to see older messages from before 6/4/2025.
Today
PY
project 1.py
PY•11 kB•
9:31 am
import tkinter as tk
from tkinter import messagebox, ttk
from datetime import datetime
# Global list to store items currently added to the bill
current_bill_items = []
# Product database with predefined items and their prices
product_database = {
"Apple": 2.50,
"Banana": 1.20,
"Milk(1L)": 3.00,
"Bread": 2.25,
"Eggs(1 Doz)": 4.50,
"Chicken(1kg)": 8.75,
"Rice (5kg)": 10.00,
"Pasta (500g)": 1.75,
"Cheese (200g)": 3.80,
"Water Bottle": 1.00
}
def add_item_to_bill():
"""
Adds an item to the current bill.
Validates input, checks if the product exists, and updates the bill.
"""
item_name = item_name_entry.get().strip()
quantity_str = quantity_entry.get().strip()
# Input validation
if not it…
Read more
9:51 am9:51 am
PY
supermarket by reena.py
PY•13 kB•
9:53 am
HTM
pro.html
HTML•3 kB•
9:54 am
10:13 am
HTM
pro.html
HTML•3 kB•
10:17 am